package com.zhaiweijia.eurekaproducer.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhaiwj
 * @since 2021-02-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_coupon")
public class SmsCoupon implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 优惠劵名
     */
    @TableField("title")
    private String title;

    /**
     * 优惠券类型
     */
    @TableField("type")
    private Integer type;

    /**
     * 适用类型
     */
    @TableField("used_type")
    private Integer usedType;

    /**
     * 商品id
     */
    @TableField("gid")
    private Integer gid;

    /**
     * 门槛
     */
    @TableField("menkan")
    private Integer menkan;

    /**
     * 面值
     */
    @TableField("mianzhi")
    private Integer mianzhi;

    /**
     * 平台
     */
    @TableField("pingtai")
    private Integer pingtai;

    /**
     * 开始时间
     */
    @TableField("start_time")
    private Date startTime;

    /**
     * 结束时间
     */
    @TableField("end_time")
    private Date endTime;

    /**
     * 状态
     */
    @TableField("status")
    private Integer status;

    /**
     * 分类id
     */
    @TableField("cid")
    private Integer cid;

    /**
     * 限购数
     */
    @TableField("xianling")
    private Integer xianling;

    @TableField("remark")
    private String remark;

    @TableField("zong")
    private Integer zong;

    @TableField("pid")
    private Integer pid;


}
